#include <QCoreApplication>
#include <iostream>
#include <math.h>

using namespace std;

int main()
{
    int x1,x2,y1,y2;
    float res;
    cout<<"Vvedite x1:";
    cin>>x1;

    cout<<"Vvedite x2:";
    cin>>x2;

    cout<<"Vvedite y1:";
    cin>>y1;

    cout<<"Vvedite y2:";
    cin>>y2;
    res = sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2));

    cout<<"rast:"<<res<<endl;
    return 0;
}
